gem install installr_server-0.1.gem --user-install

echo "PATH=/home/ubuntu/.gem/ruby/1.9.1/bin:$PATH" >> /home/ubuntu/.profile
sed -i '4i PATH=/home/ubuntu/.gem/ruby/1.9.1/bin:$PATH' /home/ubuntu/.bashrc

InstallrAgent start
